package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 产品类别对象 hmz_product_type
 * 
 * @author ruoyi
 * @date 2023-11-10
 */
public class HmzProductType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 产品类别唯一标识符 */
    private Long id;

    /** 产品类别名称 */
    @Excel(name = "产品类别名称")
    private String productTypeName;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProductTypeName(String productTypeName) 
    {
        this.productTypeName = productTypeName;
    }

    public String getProductTypeName() 
    {
        return productTypeName;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("productTypeName", getProductTypeName())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
